package com.gupao.rpc;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
//        IHelloService iHelloService = ;
//        iHelloService.sayHello("sss");
        RpcProxyClient rpcProxyClient = new RpcProxyClient();
        IHelloService iHelloService = rpcProxyClient.clientProxy(IHelloService.class, "localhost", 8080);
        String result = iHelloService.sayHello("Mic1");
        System.out.println(result);

    }
}
